package com.jctrip.hotel.management.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@ApiModel(value = "渠道编码信息-返回值")
@Data
@Builder
public class GetRouteCodeResult {

    @ApiModelProperty(value = "渠道编码列表")
    private List<RouteCodeInfo> routeCodeInfoList;

    @ApiModel(value = "渠道编码对象")
    @Data
    @Builder
    public static class RouteCodeInfo{
        @ApiModelProperty(value = "主键id")
        private Long id;

        @ApiModelProperty(value = "渠道编码")
        private String code;

        @ApiModelProperty(value = "渠道名")
        private String name;
    }
}
